package com.ruoyi.livenuniappserver.api.subscribe.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.livenuniappserver.api.subscribe.domain.Course;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.security.core.parameters.P;

import java.util.List;

@Mapper
public interface CourseMapper{


    List<Course> selectCourseList(@Param("id") Integer id);

    int saveRegistrationRecor( @Param("registrationCourseName") String registrationCourseName,@Param("courseId") Integer courseId,@Param("userId")Integer userId);
}
